package com.woniu.client.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年05月23日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("order_details")
public class OrderDetailsDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单详情表
     */
    @ApiModelProperty(name = "id",value = "id")
    private Long id;

    /**
     * 订单号
     */
    @ApiModelProperty(name = "orderNum",value = "订单号")
    private String orderNum;

    /**
     * 废品种类
     */
    @ApiModelProperty(name = "junkType",value = "废品种类")
    private Long junkType;

    /**
     * 废品单类价格
     */
    @ApiModelProperty(name = "singlePrice",value = "废品单类价格")
    private BigDecimal singlePrice;

    /**
     * 数量
     */
    @ApiModelProperty(name = "number",value = "数量")
    private Double number;

    /**
     * 废品单类总价
     */
    @ApiModelProperty(name = "totalPrice",value = "废品单类总价")
    private BigDecimal totalPrice;

    /**
     * 下单时间
     */
    @ApiModelProperty(name = "createTime",value = "下单时间")
    private LocalDateTime createTime;

    /**
     * 收货人地址
     */
    @ApiModelProperty(name = "address",value = "收货人地址")
    private String address;

    /**
     * 收货人电话
     */
    @ApiModelProperty(name = "phone",value = "收货人电话")
    private String phone;

    /**
     * 收货人姓名
     */
    @ApiModelProperty(name = "name",value = "收货人姓名")
    private String name;

    /**
     * 负责员工id
     */
    @ApiModelProperty(name = "employId",value = "负责员工id")
    private Long employId;

    /**
     * 单位(例如;吨,斤,个)
     */
    @ApiModelProperty(name = "unit",value = "单位(例如;吨,斤,个)")
    private String unit;


}
